package com.ly.honor.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.honor.entity.Match;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.honor.entity.dto.MatchQueryDTO;
import com.ly.honor.entity.vo.MatchQueryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 17798
* @description 针对表【bs_match】的数据库操作Mapper
* @createDate 2022-11-16 11:49:49
* @Entity com.ly.honor.entity.Match
*/
@Mapper
public interface MatchMapper extends BaseMapper<Match> {

    Page<MatchQueryVO> selectMatchPage(Page<MatchQueryVO> page, @Param("matchDTO") MatchQueryDTO matchQueryDTO);

    List<MatchQueryVO> getMatchByTime(@Param("beginTime") Date beginTime, @Param("endTime")Date endTime);
}




